$(function () {
  init();
  function init() {
    discountData()
  }
  function discountData() {
    $.get('http://193.112.55.79:9090/api/getinlanddiscount', (result) => {

      var data = result.result;

      var html = template("dataTpl", {arr:data})

      $('.goods_list').html(html);
    })
  }
})